<!--
 * @Description: 提示组件
 * @Author: DHL
 * @Date: 2022-10-17 10:40:22
 * @LastEditors: DHL
 * @LastEditTime: 2022-10-17 10:46:31
-->
<template>
  <el-tooltip effect="dark" :content="content" :placement="placement">
    <svg-icon iconClass="infoCircle"></svg-icon>
  </el-tooltip>
</template>

<script setup lang="ts">
  interface Props {
    content: string

    /**
     * Tooltip 组件出现的位置
     */
    placement?: string
  }

  const props = withDefaults(defineProps<Props>(), {
    content: '',
    placement: 'top-start'
  })
</script>

<style scoped lang="scss"></style>
